package com.chonor.mall.mapper;

import com.chonor.mall.model.CouponProductCategory;
import com.chonor.mall.model.CouponProductCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CouponProductCategoryMapper {
    long countByExample(CouponProductCategoryExample example);

    int deleteByExample(CouponProductCategoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(CouponProductCategory record);

    int insertSelective(CouponProductCategory record);

    List<CouponProductCategory> selectByExample(CouponProductCategoryExample example);

    CouponProductCategory selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") CouponProductCategory record, @Param("example") CouponProductCategoryExample example);

    int updateByExample(@Param("record") CouponProductCategory record, @Param("example") CouponProductCategoryExample example);

    int updateByPrimaryKeySelective(CouponProductCategory record);

    int updateByPrimaryKey(CouponProductCategory record);
}